package com.service;

import java.util.List;
import java.util.Map;

import com.model.ReponseDto;
import com.model.SysMenu;

public interface IMenuService {

    public ReponseDto<List<SysMenu>> list(Map<String, Object> parMap);

    /**
     * 添加菜单
     * 
     * @param sysMenu
     * @return
     */
    public ReponseDto<String> add(SysMenu sysMenu, String userId, String userName);

    /**
     * 编辑菜单
     * 
     * @param sysMenu
     * @return
     */
    public ReponseDto<String> update(SysMenu sysMenu, String userId, String userName);

    /**
     * 删除菜单
     * 
     * @param id
     */
    public ReponseDto<String> delete(Long id, String userId, String userName);

}
